package com.shop.cloud.common.datasource.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 */
@Data
@ConfigurationProperties("spring.datasource.druid")
public class DataSourceProperties {
	private String username;
	private String password;
	private String url;
	private String driverClassName;
	/**
	 * 查询数据源的SQL
	 */
	private String queryDsSql = "select * from gen_datasource_conf where del_flag = 0";
}
